import openpyxl as vb

path = '../文件/自动化创建表格.xlsx'
wb = vb.load_workbook(path)  # 加载工作簿
wt = wb['首页']  # 指定工作表
# 读取单一单元格的值
cell = wt['A1'].value
print(cell)
# 读取某一行或某一列的值
for i in range(1, 4):
    print(wt.cell(row=2, column=i).value)
